//
//  RBAESTool.h
//  RMMaterialRed
//
//  Created by XBWH on 2024/3/6.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface RBAESTool : NSObject
//加密
+ (NSData *)rb_encryptDataWithData:(NSData *)data Key:(NSString *)key;
// 解密
+ (NSData *)rb_decryptDataWithData:(NSData *)data andKey:(NSString *)key;
// NSString加密
+ (NSString *)rb_encryptStringWithString:(NSString *)string andKey:(NSString *)key;
// NSString解密
+ (NSString *)rb_decryptStringWithString:(NSString *)string andKey:(NSString *)key;
/// NSString加密
+ (NSString *)rb_dswy_encryptStringWithString:(NSString *)string;
/// NSString解密
+ (NSString *)rb_dswy_decryptStringWithString:(NSString *)string;
@end

NS_ASSUME_NONNULL_END
